
import { createRouter,createWebHashHistory } from "vue-router"

const router = createRouter({
    history:createWebHashHistory(),
    routes:[
       {
        path:"/",
        redirect:"/Home",
        component:() => import("../layout/index.vue"),
        children:[
             // 首页
            {
                path:"/Home",
                component:() => import("../view/Home/index.vue")
            },
		 			]
        },
    ]
})
export default router
